package log;

public class ContadorEventos {
	
	private static int id=0;
	
	public static int nextId(){
		id++;
		return id;
	}
	
	public static String addEvent(String place, String action, String parameter){
		return nextId()+" "+place+" "+action+" "+parameter;
	}
	
	public static String addEvent(String place, String action, String parameter1, String parameter2){
		return nextId()+" "+place+" "+action+" "+parameter1+" "+parameter2;
	}
	
}
